package com.cqvip.innocence.project.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqvip.innocence.project.model.dto.AdminRoleView;
import com.cqvip.innocence.project.model.entity.Admin;

/**
 * @author Innocence
 */
public interface AdminService extends IService<Admin> {

    /**
     * 根据用户名或者角色名获取管理员列表
     * @param page
     * @param adminRoleView
     * @return IPage<AdminRoleView>
     */
    Page<AdminRoleView> getAdminsList(Page page, AdminRoleView adminRoleView);

}
